home *** CD-ROM | disk | FTP | other *** search
-
- ZipLab VIII - ZipLab does Dallas
- (C)Copyright 1991 by Jeffrey S. Morley
- May 5th, 1991
-
- PCBTest.Bat enhancer for PCBoard 14.5
-
-
- ZipLab VIII is a alternative/replacement for the normal PCBTEST.BAT file
- which is run by PCBoard after a user uploads file(s). In the past, we have
- all run maybe PKUNZIP -T on each file, and if there were no CRC erorrs, all
- was considered well. There is a lot more we can do to protect ourselves and
- our users from unwanted files! ZipLab will do the following:
-
- * Test for CRC errors in the .ZIP file.
- * Test for imbedded .ZIP files and if found, CRC check those too.
- * Test for imbedded .TD0 (Teledisk) files and if found, test with TDCHECK.
- * Virus SCAN imbedded EXE and COM files, using SCAN.EXE from McAffey.
- * Remove all .ZIP comments from the file.
- * Replace .ZIP comments with your own. (Optional)
- * Delete unwanted BBS ads and/or other unwanted ZIP members as you define.
- * Reject programs older than a date (year) which you specify.
- * Adds most recent .ZIP member date to the description (Optional)
-
- * NEW IN THIS VERSION!!! ******************************************************
-
- ZipLab VIII - NO CHANGES TO YOUR .CFG FILE IS REQUIRED FOR THIS RELEASE!
- Changed the format of the "date" line added to the DIRxx
- file description. Several users requested that both the
- newest AND the oldest date be indicated. Done.
-
- ZipLab VII(a) - NO CHANGES TO YOUR .CFG FILE IS REQUIRED FOR THIS RELEASE!
- Bug fix version only. There was a problem in the logic with
- the new internal date verification. Two things were happening.
- The first was that any ZIP which contained only one file was
- failing. Fixed. The second was that the OLDEST file in the
- ZIP was being used for the comparison, not the newest. Fixed.
-
- The other addition to this release is the ability to change
- the default location that PTEST.EXE uses to unzip files for
- testing with SCAN.EXE. PTEST will normally create a directory
- under your PCB root directory called ..\PTEST.DIR and will
- kill this directory when done. If you wish to have this
- work carried on someplace else, set up an environment
- variable called ZIPLAB, and put the drive and path there.
-
- Example: ZIPLAB=D:\WORK
-
- You may wish this change if your PCB drive is quite small,
- or if you wish the work to take place on a virtual disk for
- speed.
-
- ZipLab VII - PTEST.CFG FILE HAS CHANGED!!! YOU MUST RUN SETUP.EXE AGAIN TO
- CREATE THE CONFIG FILE. DON'T FORGET THIS STEP, OR NOTHING
- WILL WORK!
-
- I have eliminated the need for the TESTAGE.EXE program from
- the process. All testing of the dates of the various .ZIP
- file members is now built into the code. Boy did I have a
- good time figuring out how to turn 5781 into 04/21/1991!
-
- As a side-benefit, I now allow you the option of adding a
- notation "Date of most recent .ZIP member >> mm/dd/yyyy" to
- the file description as posted by PCBoard. This notation
- will be generated and added by ZipLab if a "Y" is included
- in the appropriate field in PTEST.CFG. Place a "N" in this
- field to bypass this option.
-
- Also as a side-benefit, the date of the most recent file will
- be displayed by ZipLab when a .ZIP passes the age verification,
- and both the most recent and oldest will be displayed when a
- .ZIP fails.
-
- ZipLab VI - No changes to the .CFG file this version. You need to nothing
- except replace the PTEST.EXE file.
-
- AAARGH! Missed a hard-coded directory spec I left in the code.
- (I had put it in during the debug process.). Unless you were
- lucky enough to have an "M:\HOLD" directory, all files that
- failed the age test were being erased instead of moved. Fixed.
-
- Added the bell (or is it whistle?) of having the first line of
- the description displayed while the file is testing. Thanks go
- to Paul Beda for reminding me that the description is available
- during the PCBTEST process. Try his RFUPDESC program to change
- the column 34-78 descriptions into full line ones.
-
- ZipLab V - PTEST.CFG FILE HAS CHANGED!!! YOU MUST RUN SETUP.EXE AGAIN TO
- CREATE THE CONFIG FILE. DON'T FORGET THIS STEP, OR NOTHING
- WILL WORK!
-
- This version now supports users in NON-COLOR mode. ZipLab will
- detect these users, and will not display any colors. The user
- MUST STILL HAVE ANSI.SYS LOADED! ANSI codes are used for moving
- the cursor. If you have lots of users calling in with non-DOS
- machines which can't support ANSI, don't use ZipLab.
-
- Somewhat against my better judgement, you may now ADD a zip
- comment to the file while testing. There is an additional
- line added to PTEST.CFG. If you can resist the urge to mess
- with the .ZIP, please put "NONE" in this field.
-
- Fixed some problems with TestAge, including a bad compile which
- was mistakenly sent out in some ZipLab IV packages.
-
- Added the /NOMEM command to the call to SCAN.EXE, so your local
- RAM memory won't be tested every time. This will speed things
- up quite a bit.
-
- ZipLab IV - This version of ZipLab is now an EXE file, instead of a series
- of batch commands. This was done to speed the process up. The
- batch file method, while effective and flexible, was very slow.
- Many users were becoming discouraged waiting on large,
- multi-file uploads to be tested.
- *******************************************************************************
-
- REQUIRED:
- You must already have the following programs:
-
- PKZIP.EXE - Phil Katz archive create program (version 1.01)
- PKUNZIP.EXE - Phil Katz archive extract program (version 1.01)
- TDCHECK.EXE - .TD0 (Teledisk) checker from SyDex (any version)
- SCAN.EXE - McAffey's virus detection program (any version)
-
- There are other small utility programs which I have bundled with this .ZIP.
- Those which were not written by me may require registration for continued
- use. PLEASE SUPPORT SHAREWARE AND DO SO!
-
- RECOM.EXE - Mike Loewen's ZIP file comment remover and date stamper.
-
-
- Quick Start ---
-
- * NOTE! Since PCBoard is SHELLING out to run PCBTEST.BAT, there is limited
- memory available for PTEST.EXE. If you are running in a multitasking
- or other memory constrained situation, PTEST may not work! You should
- have at least 210k free memory when shelled out of PCBoard. If this is
- a problem, you may want to consider the VAROOM (overlay) version of
- PCBoard, which runs in considerably less memory than the standard PCB.EXE.
-
- The other option is to run PCBoard with the SET PCB = /SWAP environment
- variable. This will cause PCBoard to "swap" its code to the best available
- storage (EMS, DISK) whenever a SHELL function (external protocol, viewfile,
- and even DOORs if you have the SHELL column in DOORS.DAT(LST) set to "Y")
- is called. This method will cause a slight delay when SHELLing, but will
- provide the largest amount of available DOS memory for your external code.
-
- * Place the PTEST.EXE and SETUP.EXE files into a directory which is in your
- DOS PATH.
- * UnZIP the enclosed supplemental utilities into directories in your DOS PATH.
- Make note of where you put them, you will need this information later.
- * Change to your PCBoard HOME directory (C:\PCB for many) and run SETUP.EXE.
- The resulting PTEST.CFG must reside in your PCBoard home directory.
- * Fill in the following information when prompted by SETUP.EXE:
-
- - The type of modem HANDSHAKE you desire. This can be
- 0, 1, 2 or 3. 0=none, 1=XON/XOFF, 2=CTS, 3=CTS & XON/XOFF
- (Use 2 or 3 with an error correcting modem...)
- - The name of your BBS system. 43 characters maximum.
- - The DRIVE and PATH to the directory where rejects will be
- placed pending manual sysop inspection.
- - The date (yyyy) which will be the minimum acepted year. ZIPs
- containing files older than this will be rejected.
- NEW!!! - A "Y" if you wish the "recent date" notation added to the file
- descriptions. A "N" if you do not wish this addition.
- - The fully qualified filename of the zip comment to add, or
- type "NONE" if you don't want to add a comment.
- - Full DRIVE:\PATH to PKZIP.EXE.
- - Full DRIVE:\PATH to PKUNZIP.EXE.
- - Full DRIVE:\PATH to TDCHECK.EXE.
- - Full DRIVE:\PATH to SCAN.EXE.
- - Full DRIVE:\PATH to RECOM.EXE.
- (I need these spelled out becuase the method I am using
- to get ERRORLEVELS returned to the program requires it.)
- - A list, each on one line, of any extensions (.GIF, .TXT etc)
- Which will be passed without normal ZIP testing. Any
- extensions other than .ZIP which do not appear in this .CFG
- file will be rejected by the process. The "." is optional.
- - A list, each on one line, of files which you wish deleted
- from .ZIP's before posting. This could include the famous
- "READMEOR.DIE", "BBS.AD", or other unwanted advertising.
-
- Sample PTEST.CFG file:
-
- 2
- The Interconnect BBS
- M:\HOLD
- 1990
- NEW!!! Y
- C:\EXE\COMMENT.CMT
- C:\ZIP\PKZIP.EXE
- C:\ZIP\PKUNZIP.EXE
- C:\ZIP\TDCHECK.EXE
- C:\DIAGS\SCAN.EXE
- C:\EXE\RECOM.EXE
- NEW!!! There used to be a line for TESTAGE.EXE here, delete the line!
- .ROM
- .GIF
- ANNOYING.BBS
- README.TOO
-
- * Edit your existing PCBTEST.BAT file, and delete the whole thing except
- for two lines:
-
- Sample PCBTEST.BAT file:
-
- @ECHO OFF
- PTEST %1
-
- * That's it... Now when PCBTEST.BAT is run by PCBoard, it will pass
- command over to PTEST.EXE with the parameter containing the path
- and name of the file to be tested. PTEST will check out the file,
- placing any rejects in the holding directory you specified in the
- SETUP process above.
-
-
-
- This program was written in QuickBasic 4.5, with some help from Hammerly
- Computing's ProBas 4.01. I have also included a few utilities which PTEST
- will use in the course of testing. These utilities are the property of the
- authors, and you are strongly requested to register them if you continue to
- use PTEST.EXE. There is no registration required for PTEST itself, nor for
- any of the little utilities included which were written by me.
-
-
- Jeffrey S. Morley
- The Interconnect BBS
- (703)425-2505
-
- * PTEST.EXE, SETUP.EXE, and DELF.COM are my own creations, and no
- registration is required. They are all:
- (C)Copyright 1989-1991 by Jeffrey S. Morley
-
-
-